package cn.wzby;

import java.lang.reflect.Array;
import java.util.Arrays;

public class Str9 {
    public static void main(String[] args) {
        //split()方法是可以使用正则表达式，功能是将字符串按一定分隔符转换为String[]数组
        String[] longs = "java,php,python,mysql,html,vue,c".split(",");

        System.out.println(Arrays.toString(longs));
        String [] as = "java".split("");
        System.out.println(Arrays.toString(as));


    }
}
